package cn.edu.lingnan.demo.entity.common;

import java.util.List;

/**
 * @author wuyuan
 * @since 2020-05-28 15:06
 *
 * 主要写table.json中的数据格式
 */
public class CommonResult<T> {
    private int code;//
    private String msg;
    private long count;
    private Object data;

    @Override
    public String toString() {
        return "CommonResult{" +
                "code='" + code + '\'' +
                ", msg='" + msg + '\'' +
                ", count=" + count +
                ", data=" + data +
                '}';
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
